import { getRequest, postRequest,  putRequest, delRequest } from './instance';

export const loginApi = data => postRequest({url: '/login',  data})

export const logoutApi = data => postRequest({url: '/logout',  data})


export const getMenusApi = params => getRequest({url: '/menus/premissions'})